You cannot quit or close a script while it is compiling or resetting.